package com.atdel.demo11;


/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo11
 * @Author: Del
 * @CreateTime: 2025-03-11  19:40
 * @Description: TODO
 * @Version: 1.0
 */
public class MovieTicketSaleThreadTest {
    public static void main(String[] args) {
        // 创建两个线程窗口实现卖票
        MovieTicketSaleThread thread1 = new MovieTicketSaleThread("窗口1");
        MovieTicketSaleThread thread2 = new MovieTicketSaleThread("窗口2");

        thread1.start();
        thread2.start();
    }
}
